package person.aoao.library.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * (WillList)实体类
 *
 * @author makejava
 * @since 2023-05-05 10:15:40
 */
public class WillList implements Serializable {
    private static final long serialVersionUID = 695268037185500579L;
    /**
     * 预约编号
     */
    private Integer willid;
    /**
     * 座位编号
     */
    private Integer seatid;
    /**
     * 用户编号
     */
    private String uid;
    /**
     * 时间编号
     */
    private String timeperiod;
    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date retruntime;
    /**
     * 预约状态
     */
    public Timestamp createdAt;
    private String state;

    private UserList userList;

    public UserList getUserList() {
        return userList;
    }

    public void setUserList(UserList userList) {
        this.userList = userList;
    }

    public Timestamp getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Timestamp createdAt) {
        this.createdAt = createdAt;
    }

    public SeatList getSeatList() {
        return seatList;
    }


    public void setSeatList(SeatList seatList) {
        this.seatList = seatList;
    }

    public TimeList getTimeList() {
        return timeList;
    }



    public void setTimeList(TimeList timeList) {
        this.timeList = timeList;
    }

    private SeatList seatList;

    private TimeList timeList;


    public Integer getWillid() {
        return willid;
    }

    public void setWillid(Integer willid) {
        this.willid = willid;
    }

    public Integer getSeatid() {
        return seatid;
    }

    public void setSeatid(Integer seatid) {
        this.seatid = seatid;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getTimeperiod() {
        return timeperiod;
    }

    public void setTimeperiod(String timeperiod) {
        this.timeperiod = timeperiod;
    }

    public Date getRetruntime() {
        return retruntime;
    }

    public void setRetruntime(Date retruntime) {
        this.retruntime = retruntime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

}

